package com.hsy.crm.web.domain.entity;

import com.hsy.crm.web.domain.cm.Validate;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "t_verificate_order")
public class VerificateOrder extends BaseEntity{

    @Validate
    @Column(length = 20)
    private Integer type;

    @Column(length = 20)
    private Long relationId1;

    @Column(length = 20)
    private Long relationId2;

    @Column(length = 20)
    private Long companyId;

    @Column(length = 23,unique=true)
    private String code;

    @Validate
    @Column(length = 20)
    private Long date;

    @Column(length = 30)
    private String remarks;

    @Validate
    @Column(length = 11)
    private Integer status;

    @Validate
    private Long createUserId;

    @Validate
    private Long createTime;

    @Validate(insert=false,update=true)
    private Long updateUserId;

    @Validate(insert=false,update=true)
    private Long updateTime;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getRelationId1() {
        return relationId1;
    }

    public void setRelationId1(Long relationId1) {
        this.relationId1 = relationId1;
    }

    public Long getRelationId2() {
        return relationId2;
    }

    public void setRelationId2(Long relationId2) {
        this.relationId2 = relationId2;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getDate() {
        return date;
    }

    public void setDate(Long date) {
        this.date = date;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
}
